#tab {
    width: 1000px;
    height: 500px;
    margin: 80px auto;
    box-shadow: 5px 5px 5px #888888;
}
#tab h3 {
    border: 1px  ;
    margin: 0px;
    padding: 10px;
    font-size: 20px;
    float: left;
    right: 5px;
    width: 60px;
    height: 30px;
    line-height: 24px;
    text-align: center;
}
#tab div {
    clear: both;
    height: 470px;
    font-size: 14px;
    padding: 20px 0px 0px 20px;
    display: none;
}
#tab h3.active {
    background: #cccc00;
}
#tab div.content {
    display: block;
    background: #cccc00;
}